<?php 
$un = $_GET['un'];
echo in_array($un,array('zhangsan','lisi','wangwu')) ? 1 : 0;